How can I convert a function into a class in React

visit shbcf.ru